.container {
  padding: 24px;
  background: #fff;
}

.header {
  margin-bottom: 20px;
}

.header h2 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.buttons {
  display: flex;
  gap: 8px;
}

.search {
  width: 300px;
}

/* 自定义表格样式 */
:global(.ant-table-thead > tr > th) {
  background: #BEC3D1 !important;
  text-align: center !important;
  color: #333;
}

:global(.ant-table-tbody > tr > td) {
  text-align: center;
  padding: 12px 16px;
}

:global(.ant-btn-link) {
  padding: 4px 8px;
  height: auto;
}

:global(.ant-switch) {
  background-color: #52c41a;
}

:global(.ant-switch-checked) {
  background-color: #52c41a;
}

/* 确保开关组件在单元格中居中 */
:global(.ant-table-tbody > tr > td .ant-switch) {
  margin: 0 auto;
  display: block;
}

/* 确保操作按钮在单元格中居中 */
:global(.ant-table-tbody > tr > td .ant-space) {
  justify-content: center;
} 